using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace FytSoa.Domain.Erp;

/// <summary>
/// erp-产品真正库存
/// </summary>
[SugarTable("erp_product_stock")]
public class ErpProductStock:Entity
{
    /// <summary>
    /// 产品编号
    /// </summary>
    [Required]
    public long ProductId { get; set; }

    /// <summary>
    /// 数量
    /// </summary>
    [Required]
    public int Count { get; set; } = 0;

    /// <summary>
    /// 创建人
    /// </summary>
    public string CreateUser { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    [Required]
    public DateTime CreateTime { get; set; } = DateTime.Now;


}